$OpenBSD: patch-gettext-tools_gnulib-lib_Makefile_in,v 1.1 2015/07/19 23:46:08 naddy Exp $

Use standard shared library versioning.

Do not remove static library after building.
This was also a race if MAKE_JOBS > 1.

--- gettext-tools/gnulib-lib/Makefile.in.orig	Wed Jul 15 03:32:27 2015
+++ gettext-tools/gnulib-lib/Makefile.in	Sat Jul 18 19:09:06 2015
@@ -2178,7 +2178,7 @@ EXTRA_libgettextlib_la_SOURCES = acl_entries.c atexit.
 #libgettextlib_la_LDFLAGS += $(LTLIBUNISTRING) @LTLIBINTL@ @LTLIBICONV@ @LIB_ACL@
 libgettextlib_la_LDFLAGS = $(AM_LDFLAGS) -no-undefined $(LIB_ACL) \
 	$(LTLIBICONV) $(LTLIBINTL) $(LTLIBTHREAD) $(LTLIBUNISTRING) \
-	$(OPENMP_CFLAGS) @INTL_MACOSX_LIBS@ -release @VERSION@ \
+	$(OPENMP_CFLAGS) @INTL_MACOSX_LIBS@ \
 	$(am__append_3) $(am__append_12)
 
 # Use this preprocessor expression to decide whether #include_next works.
@@ -3394,7 +3394,7 @@ getopt.h: getopt.in.h $(top_builddir)/config.status $(
 	mv -f $@-t $@
 
 # No need to install libgettextlib.a, except on AIX.
-install-exec-local: install-libLTLIBRARIES install-exec-clean
+install-exec-local: install-libLTLIBRARIES
 install-exec-clean:
 	case "@host_os@" in \
 	  aix*) ;; \
